package com.echo.echovividlive.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiajunjie
 * @since 2024-10-22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("video")
public class Video implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 视频id
     */
    @TableId(value = "video_id", type = IdType.AUTO)
    private Integer videoId;

    /**
     * 视频地址
     */
    private String url;

    /**
     * 视频简介
     */
    private String overview;

    /**
     * 视频封面地址
     */
    private String cover;

    /**
     * 作者id
     */
    private Integer userId;

    /**
     * 点赞数
     */
    private Long goodCount;

    /**
     * 评论数
     */
    private Integer commentCount;

    /**
     * 发布时间
     */
    private LocalDateTime createTime;

    /**
     * 0：审核中 1：已通过审核 2：被举报下架
     */
    private Integer status;

    /**
     * 标签（数字列表)
     */
    private String typeIds;

    /**
     * 标题
     */
    private String title;

}
